package sskj.regulatory.data.response.session

import com.google.gson.annotations.Expose
import com.google.gson.annotations.SerializedName


class MenuDataResponse<T> {

    @SerializedName("id")
    @Expose
    val id: String? = null

    @SerializedName("text")
    @Expose
    val text: String? = null

    @SerializedName("parentId")
    @Expose
    val parentId: String? = null

    @SerializedName("sortNum")
    @Expose
    val sortNum: Int? = null

    @SerializedName("data")
    @Expose
    val data: T? = null

    @SerializedName("type")
    @Expose
    val type: String? = null

    @SerializedName("selected")
    @Expose
    var selected: Boolean = false

    @SerializedName("children")
    @Expose
    var children: List<MenuDataResponse<Any>>? = null

}